#ifndef BEHAVIORSEEK_H
#define BEHAVIORSEEK_H

#include "Behavior.h"

/**
 * Class BehaviorSeek
 *
 * This class is used for the seek behaviour
 */
class BehaviorSeek : public Behavior
{
protected:
	/// target point.
	Ogre::Vector3 mTarget;

public:
	/// Default constructor
	BehaviorSeek() : Behavior(BEHAVIOR_SEEK), mTarget(0.0f , 0.0f, 0.0f)
	{}

	/// Default destructor
	~BehaviorSeek();

	/// sets target
	void setTarget(const Ogre::Vector3& target)
	{ mTarget = target; }

	/// Executes the behavior
	Ogre::Vector3 execute(const BoidBase* boid);
};

#endif // BEHAVIORSEEK_H
